package com.springcloud.model.rest;

public enum RestEnum {
    SUCCESS("0000","success"),
    FAILD("0001","faild")

    ;


    private final String code;

    private final String msg;

    RestEnum(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String code(){
        return code;
    }

    public String msg() {
        return msg;
    }
}
